﻿// xTinyShell.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <stdio.h>
#include "mem.h"
#include <windows.h>  
#include <stdio.h>  
#include <time.h>  
#include "OSShellPort.h"
unsigned int getCurTime()
{
    unsigned int curTimeMs = 0;
    SYSTEMTIME curTime;
    GetLocalTime(&curTime);
  /*  printf("%u:%u:%u:%u\n", curTime.wHour,
        curTime.wMinute,
        curTime.wSecond,
        curTime.wMilliseconds);*/
    curTimeMs = (curTime.wHour * 60 * 60 + curTime.wMinute * 60 + curTime.wSecond) * 1000 + curTime.wMilliseconds;

    //printf("curTimeMs = %u\n", curTimeMs);

    return curTimeMs;

}
int main()
{
	InitMem();
    UserOSShellInit();
}

